
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<link rel="stylesheet" href="http://netdna.bootstrapcdn.com/bootstrap/3.0.3/css/bootstrap.min.css">
		<link rel="stylesheet" href="http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css">       
		<script src="http://cdnjs.cloudflare.com/ajax/libs/jquery/2.0.3/jquery.min.js"></script>
		<script src="http://code.jquery.com/ui/1.10.3/jquery-ui.js"></script>
		<title>Listado Ventas</title>
    </head>
    <body class="container">
        <%@include file="../../opciones.jsp"%>
        <h1>Productos Mas Vendidos</h1>
        <table class="table table-condensed table-bordered table-hover">
                <tr>
                    <th>CODIGO PRODUCTO</th>
                    <th>NOMBRE</th>
                    <th>PRECIO VENTA</th>
                    <th>CANTIDAD</th>
                    <th>TOTAL</th>
                </tr>
                <c:forEach var="fila" items="${lista}">
                    <tr>
                        <td><c:out value="${fila.codProducto}" /></td>
                        <td><c:out value="${fila.nombre}" /></td>
                        <td><c:out value="${fila.precio}" /></td>
                        <td><c:out value="${fila.cantidad}" /></td>
                        <td><c:out value="${fila.total}" /></td>
  
                    </tr>
                </c:forEach>
            </table>
        </div>
    </body>
</html>

